/* 富文本编辑器生成内容需搭配自定义样式 */
.editor-content-view {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  word-break: break-word;
}

/* 标题 */
.editor-content-view h1,
.editor-content-view h2,
.editor-content-view h3,
.editor-content-view h4,
.editor-content-view h5,
.editor-content-view h6 {
  font-weight: bold;
  margin: 1em 0;
}

.editor-content-view h1 {
  font-size: 24px;
}
.editor-content-view h2 {
  font-size: 22px;
}
.editor-content-view h3 {
  font-size: 20px;
}
.editor-content-view h4 {
  font-size: 18px;
}
.editor-content-view h5 {
  font-size: 16px;
}
.editor-content-view h6 {
  font-size: 14px;
}

/* 段落 */
.editor-content-view p {
  margin: 0 0 1em;
}

/* 超链接 */
.editor-content-view a {
  color: #007bff;
  text-decoration: none;
}
.editor-content-view a:hover {
  text-decoration: underline;
}

/* 列表 */
.editor-content-view ul,
.editor-content-view ol {
  padding-left: 20px;
  margin: 10px 0;
}
.editor-content-view ul {
  list-style-type: disc;
}
.editor-content-view ol {
  list-style-type: decimal;
}

/* 图片 */
.editor-content-view img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

/* 引用 */
.editor-content-view blockquote {
  border-left: 4px solid #ccc;
  padding: 10px;
  margin: 10px 0;
  background: #f8f8f8;
  color: #666;
}

/* 代码块 */
.editor-content-view pre {
  background: #f4f4f4;
  padding: 10px;
  border-radius: 5px;
  overflow: auto;
}
.editor-content-view code {
  font-family: 'Courier New', monospace;
  background: #f5f5f5;
  padding: 2px 4px;
  border-radius: 4px;
}

/* 表格 */
.editor-content-view table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}
.editor-content-view th,
.editor-content-view td {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: left;
}
.editor-content-view th {
  background: #f5f5f5;
  font-weight: bold;
}

/* 分割线 */
.editor-content-view hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* 强调文本 */
.editor-content-view b,
.editor-content-view strong {
  font-weight: bold;
}
.editor-content-view i,
.editor-content-view em {
  font-style: italic;
}

/* ace editor扩展样式 */
.ace_placeholder {
  font-size: 14px;
}
